package com.sonic.dto.ws.services.settings;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@SuppressWarnings("serial")
public class MQTableSettingsDTO implements Serializable {

	private String tableName;
		
	private List<MQSettingsColumns> columnNames;
	
	private boolean columnIsshortNames;
	
	private List<MQSettingsSecurity> secuitiesNames;
	
	private boolean securityIsshortNames;
		
	private int offerLineCount;
		
	/**
	 *  Numery wierszy gdzie sa nazwy instrumentow, tylko w tym miejscu bedziemy mogli rozwinac linie ofert.
	 */
    private Map<Integer, MQSettingsSecurity> rowsSecuritiesMap = new HashMap<Integer, MQSettingsSecurity>();
	
	public MQTableSettingsDTO() { }

	public MQTableSettingsDTO(String tableName, List<MQSettingsColumns> columnNames, boolean columnIsshortNames, List<MQSettingsSecurity> secuitiesNames, boolean securityIsshortNames, int offerLineCount, Map<Integer, MQSettingsSecurity> rowsSecuritiesMap) {
	    super();
	    this.tableName = tableName;
	    this.columnNames = columnNames;
	    this.columnIsshortNames = columnIsshortNames;
	    this.secuitiesNames = secuitiesNames;
	    this.securityIsshortNames = securityIsshortNames;
	    this.offerLineCount = offerLineCount;
	    this.rowsSecuritiesMap = rowsSecuritiesMap;
    }

	public String getTableName() {
    	return tableName;
    }

	public void setTableName(String tableName) {
    	this.tableName = tableName;
    }

	public List<MQSettingsColumns> getColumnNames() {
    	return columnNames;
    }

	public void setColumnNames(List<MQSettingsColumns> columnNames) {
    	this.columnNames = columnNames;
    }

	public boolean isColumnIsshortNames() {
    	return columnIsshortNames;
    }

	public void setColumnIsshortNames(boolean columnIsshortNames) {
    	this.columnIsshortNames = columnIsshortNames;
    }

	public List<MQSettingsSecurity> getSecuitiesNames() {
    	return secuitiesNames;
    }

	public void setSecuitiesNames(List<MQSettingsSecurity> secuitiesNames) {
    	this.secuitiesNames = secuitiesNames;
    }

	public boolean isSecurityIsshortNames() {
    	return securityIsshortNames;
    }

	public void setSecurityIsshortNames(boolean securityIsshortNames) {
    	this.securityIsshortNames = securityIsshortNames;
    }

	public int getOfferLineCount() {
    	return offerLineCount;
    }

	public void setOfferLineCount(int offerLineCount) {
    	this.offerLineCount = offerLineCount;
    }

	public Map<Integer, MQSettingsSecurity> getRowsSecuritiesMap() {
    	return rowsSecuritiesMap;
    }

	public void setRowsSecuritiesMap(Map<Integer, MQSettingsSecurity> rowsSecuritiesMap) {
    	this.rowsSecuritiesMap = rowsSecuritiesMap;
    }	
}